//
//  TaskDataCenter.h
//  Safflower
//
//  Created by 袁亮 on 2016/12/8.
//  Copyright © 2016年 Migic_Z. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TaskModel.h"
#import "FriendModel.h"
#import "TaskDateModel.h"
#import "SignModel.h"

@interface TaskDataCenter : NSObject

- (void)pushTaskWithTaskModel:(TaskModel *)model friendModel:(FriendModel *)friendModel dateModel:(TaskDateModel *)dateModel complation:(void(^)(id error))complation;

- (void)fetchTaskListWithPage:(NSInteger)page Complation:(void(^)(id data,NSString *error))complation;

- (void)receiveTask:(TaskModel *)task complation:(void(^)(NSString *error))complation;

- (void)fetchMineTaksListWithPage:(NSInteger)page complation:(void(^)(id data,NSString *error))complation;

- (void)fetchTaskDetail:(TaskModel *)task complation:(void(^)(id data,NSString *error))complation;

@end
